Crate ethers_contract_derive
source ·Expand description
Procedural macros for generating type-safe bindings to an Ethereum smart contract.
Macros§
- Generates type-safe bindings to an Ethereum smart contract from its ABI.
Derive Macros§
- Derives the
Eip712
trait for the labeled type. - Derives the
AbiType
and allTokenizable
traits for the labeled type. - Derives the
EthCall
andTokenizeable
trait for the labeled type. - Derives the
Display
trait on structs by formatting each field based on its Ethereum type. - Derives the
EthError
andTokenizeable
trait for the labeled type. - Derives the
EthEvent
andTokenizable
traits for the labeled type.